<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateIntoIncubatedEnterprisesTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('into_incubated_enterprises', function (Blueprint $table) {
            $table->increments('id');
            $table->string('name')->default('')->comment('企业名称');
            $table->integer('status')->default('1')->comment('状态');
            $table->string('content')->default('')->comment('企业详情');
            $table->string('address')->default('')->comment('企业地址');
            $table->integer('hub')->comment('企业所属园区');
            $table->string('cover')->default('')->comment('企业封面图');
            $table->string('images')->nullable()->comment('企业图集');
            $table->string('qualification')->default('')->comment('企业资质');
            $table->string('contact')->default('')->comment('企业联系人');
            $table->string('phone')->default('')->comment('联系电话');
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('into_incubated_enterprises');
    }
}
